//
//  YBSelectPeopleHeadView.h
//  GongXinDangJian
//
//  Created by apple on 17/11/30.
//  Copyright © 2017年 apple. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "YBSelectHeadModel.h"

@protocol YBSelectPeopleHeadViewDelegate <NSObject>

-(void)viewDidClickWithSection:(NSInteger)section isOpen:(BOOL)isOpen;

-(void)viewDidClickWithSection:(NSInteger)section viewSelected:(BOOL)viewSelected;

@end

@interface YBSelectPeopleHeadView : UITableViewHeaderFooterView
@property (nonatomic , assign) BOOL isOpen;

@property (nonatomic , assign) BOOL viewSelected;

@property (nonatomic , assign) NSInteger ybSection;

@property (nonatomic , assign) BOOL isOrg;

@property (nonatomic , strong) YBSelectHeadModel * model;

@property (nonatomic , assign) id<YBSelectPeopleHeadViewDelegate> delegate;
@end
